package cn.ggcms.cms.dao.impl;

import java.util.List;

import cn.ggcms.cms.dao.InfoDao;
import cn.ggcms.cms.utils.SimpleDao;
import cn.ggcms.cms.vo.Info;

public class InfoImpl extends SimpleDao<Info> implements InfoDao {

	public InfoImpl(){
		
	}
	
	public InfoImpl(int maxResults ){
		super.setMaxResults(maxResults);
	}
	
	public void doDeleteInfoById(int id) {
		super.delete(Info.class, id);
	}

	public int doSaveInfo(Info info) {
		return super.save(info);
	}

	public void doUpdateInfo(Info info) {
		
		super.update(info);
	}

	public Info findInfoById(int id) {
		return super.get(Info.class, id);
	}

	public List<Info> findInfos() {
		return null;
	}

}
